import request from "@/utils/request";
import { loginForm, loginDate, userInfoDate } from "./type";
// 登录接口
export const reqLogIn = (data: loginForm) =>
  request.post<any, loginDate>("/user/login", data);

// 用户信息接口
export const reqUserInfo = () => request.get<any, userInfoDate>("/user/info");
